package util;

/**
 * @classname:CodeEnum
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/22 22:22
 * @version: 0.1
 * @since:1.8
 */
public enum CodeEnum {
    SUCCESS("scuess",200),
    ERRO("error",500);

    private String msg;
    private Integer code;
    CodeEnum() {
    }
    CodeEnum(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
